package com.ybServer.dao;

import com.ybServer.model.User;

/**
 *
 *
 * @author uaniheng
 */
public interface UserDAO {
    User[] selectUserByName(String name);

    User queryUser(User user);

    void register(User user) throws Exception;//

    void updateUserPwd(User user) throws Exception;//

    void updateUserInfo(User user) throws Exception;//

    void updateUserIcon(User user) throws Exception;//

    User queryUserBasicInfoByID(long id) throws Exception;//

    User queryUserByAccount(String account) throws Exception;// 根据账号查询用户信息
}
